package com.duomai.myapplication;

import android.content.Intent;
import android.os.Bundle;

import com.example.admin.AdminLoginActivity;
import com.example.admin.base.BaseActivity;
import com.example.admin.AdminActivity;

public class LaunchActivity extends BaseActivity {

    @Override
    public void setContentView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_launch);

        findViewById(R.id.tvAdnin).setOnClickListener(v -> {
            startActivity(new Intent(this, AdminLoginActivity.class));
        });
        findViewById(R.id.tvUser).setOnClickListener(v -> {
            startActivity(new Intent(this, LoginActivity.class));
        });
    }

    @Override
    public void setInitView() {

    }
}